[INFO] fetching crate paillier-lsc 0.1.3...
[INFO] checking paillier-lsc-0.1.3 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate paillier-lsc 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate paillier-lsc 0.1.3 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate paillier-lsc 0.1.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate paillier-lsc 0.1.3
[INFO] tweaked toml for crates.io crate paillier-lsc 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate paillier-lsc 0.1.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be41a9709fd5e9057c7333fc824027a83b24a88c1e896fe8f07a9a0cfd97b991
[INFO] running `Command { std: "docker" "start" "-a" "be41a9709fd5e9057c7333fc824027a83b24a88c1e896fe8f07a9a0cfd97b991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be41a9709fd5e9057c7333fc824027a83b24a88c1e896fe8f07a9a0cfd97b991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be41a9709fd5e9057c7333fc824027a83b24a88c1e896fe8f07a9a0cfd97b991", kill_on_drop: false }`
[INFO] [stdout] be41a9709fd5e9057c7333fc824027a83b24a88c1e896fe8f07a9a0cfd97b991
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7aa2c08c8d8fb6de953653713e72752c8a6381892431f70a53cac33ee5d1e5b
[INFO] running `Command { std: "docker" "start" "-a" "f7aa2c08c8d8fb6de953653713e72752c8a6381892431f70a53cac33ee5d1e5b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking const-oid v0.9.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.12
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.11
[INFO] [stderr]     Checking base16ct v0.1.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking ff v0.12.1
[INFO] [stderr]     Checking group v0.12.1
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.2.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num_cpus v1.14.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking keccak v0.1.3
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking merkle-cbt v0.3.2
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]     Checking cryptoxide v0.1.3
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling ff_derive-zeroize v0.6.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking der v0.6.0
[INFO] [stderr]     Checking crypto-bigint v0.4.9
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking thiserror v1.0.37
[INFO] [stderr]     Checking ff-zeroize v0.6.3
[INFO] [stderr]     Checking pairing-plus v0.19.0
[INFO] [stderr]     Checking rfc6979 v0.3.1
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]     Checking sec1 v0.3.0
[INFO] [stderr]     Checking elliptic-curve v0.12.3
[INFO] [stderr]     Checking ecdsa v0.14.8
[INFO] [stderr]     Checking p256 v0.11.1
[INFO] [stderr]     Checking serde v1.0.147
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking serde_bytes v0.11.7
[INFO] [stderr]     Checking curv-lsc v0.1.2
[INFO] [stderr]     Checking paillier-lsc v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> examples/packed.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kzen_paillier::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/encryption.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use kzen_paillier::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/arith.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use kzen_paillier::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/helpers/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kzen_paillier::Keypair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/helpers/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kzen_paillier::Keypair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> examples/basic.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kzen_paillier::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kzen_paillier`
[INFO] [stdout]  --> benches/proof.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use kzen_paillier::proof::CorrectKey;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `kzen_paillier`, `kzen_paillier::proof::CorrectKey`
[INFO] [stdout]  --> benches/proof.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use kzen_paillier::proof::CorrectKey;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: benches/helpers/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kzen_paillier::Keypair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/proof.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use kzen_paillier::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `helpers`
[INFO] [stdout]  --> benches/proof.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use helpers::*;
[INFO] [stdout]   |         ^^^^^^^ help: a similar path exists: `crate::helpers`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> examples/simple-voting.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kzen_paillier::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]  --> examples/packed.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let (ek, dk) = Paillier::keypair().keys();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::Paillier;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let c1 = Paillier::encrypt(&ek, &*vec![1, 5, 10]);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let c2 = Paillier::encrypt(&ek, &*vec![2, 10, 20]);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c3 = Paillier::encrypt(&ek, &*vec![3, 15, 30]);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let c4 = Paillier::encrypt(&ek, &*vec![4, 20, 40]);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let c = Paillier::add(
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |         &Paillier::add(&ek, &c1, &c2),
[INFO] [stdout]    |          ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |         &Paillier::add(&ek, &c3, &c4),
[INFO] [stdout]    |          ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let d = Paillier::mul(&ek, &c, 2);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let m = Paillier::decrypt(&dk, &c);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/packed.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let n = Paillier::decrypt(&dk, &d);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let n: &BigInt = &BigInt::from_str_radix(N2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let n: &BigInt = &BigInt::from_str_radix(N2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let p: &BigInt = &BigInt::from_str_radix(P2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]  --> examples/basic.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let (ek, dk) = Paillier::keypair().keys();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::Paillier;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let q: &BigInt = &BigInt::from_str_radix(Q2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let c1 = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let c2 = Paillier::encrypt(&ek, 20);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> benches/arith.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let n: &BigInt = &BigInt::from_str_radix(N2048, 10).unwrap();
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let n: &BigInt = &BigInt::from_str_radix(N2048, 10).unwrap();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c3 = Paillier::encrypt(&ek, 30);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let c4 = Paillier::encrypt(&ek, 40);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> benches/arith.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = BigInt::mod_pow(p, q, n);
[INFO] [stdout]    |                 ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let d1 = Paillier::mul(&ek, c1, 4);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let d2 = Paillier::mul(&ek, c2, 3);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let d3 = Paillier::mul(&ek, c3, 2);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `curv::arithmetic::traits::*`
[INFO] [stdout]  --> benches/arith.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use curv::arithmetic::traits::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let d4 = Paillier::mul(&ek, c4, 1);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let d = Paillier::add(&ek, Paillier::add(&ek, d1, d2), Paillier::add(&ek, d3, d4));
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let d = Paillier::add(&ek, Paillier::add(&ek, d1, d2), Paillier::add(&ek, d3, d4));
[INFO] [stdout]    |                                ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:22:60
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let d = Paillier::add(&ek, Paillier::add(&ek, d1, d2), Paillier::add(&ek, d3, d4));
[INFO] [stdout]    |                                                            ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let d = Paillier::rerandomize(&ek, d);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/basic.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let m = Paillier::decrypt(&dk, &d);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `benchmark_main` in this scope
[INFO] [stdout]   --> benches/proof.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | benchmark_main!(bench::zk_2048, bench::zk_4096);
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            bencher::benchmark_main
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/helpers/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kzen_paillier::Keypair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `helpers`
[INFO] [stdout]  --> benches/keygen.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use helpers::*;
[INFO] [stdout]   |         ^^^^^^^ help: a similar path exists: `crate::helpers`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> benches/keygen.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use kzen_paillier::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionKey`
[INFO] [stdout]   --> benches/encryption.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let ek = EncryptionKey::from(&keypair);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `EncryptionKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::EncryptionKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let _ = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paillier-lsc` (example "packed") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paillier-lsc` (example "basic") due to 16 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecryptionKey`
[INFO] [stdout]   --> benches/encryption.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let dk = DecryptionKey::from(&keypair);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `DecryptionKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::DecryptionKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = Paillier::encrypt(&dk, 10);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let c = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = Paillier::decrypt(&dk, &c);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionKey`
[INFO] [stdout]   --> benches/encryption.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let ek = EncryptionKey::from(&keypair);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `EncryptionKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::EncryptionKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let c = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let _ = Paillier::rerandomize(&ek, &c);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionKey`
[INFO] [stdout]   --> benches/encryption.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let ek = EncryptionKey::from(&keypair);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `EncryptionKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::EncryptionKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let c1 = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let c2 = Paillier::encrypt(&ek, 20);
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = Paillier::add(&ek, &c1, &c2);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionKey`
[INFO] [stdout]   --> benches/encryption.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let ek = EncryptionKey::from(&keypair);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `EncryptionKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::EncryptionKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let c = Paillier::encrypt(&ek, 10);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/encryption.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let _ = Paillier::mul(&ek, &c, 20);
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paillier-lsc` (bench "arith") due to 20 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `paillier-lsc` (example "simple-voting") due to 2 previous errors
[INFO] [stdout] error: cannot find macro `benchmark_group` in this scope
[INFO] [stdout]   --> benches/keygen.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     benchmark_group!(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            bencher::benchmark_group
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `KeySize` in this scope
[INFO] [stdout]   --> benches/proof.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn bench_zk_proof_challenge<KS: KeySize>(b: &mut Bencher) {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:15:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let (_challenge, _verification_aid) = Paillier::challenge(&ek);
[INFO] [stdout]    |                                                   ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `KeySize` in this scope
[INFO] [stdout]   --> benches/proof.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn bench_zk_proof_prove<KS: KeySize>(b: &mut Bencher) {
[INFO] [stdout]    |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let (challenge, _verification_aid) = Paillier::challenge(&ek);
[INFO] [stdout]    |                                              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:24:34
[INFO] [stdout]    |
[INFO] [stdout] 24 |             let _proof_results = Paillier::prove(&dk, &challenge);
[INFO] [stdout]    |                                  ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `KeySize` in this scope
[INFO] [stdout]   --> benches/proof.rs:28:48
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn bench_zk_proof_prove_and_verify<KS: KeySize>(b: &mut Bencher) {
[INFO] [stdout]    |                                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (challenge, verification_aid) = Paillier::challenge(&ek);
[INFO] [stdout]    |                                             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:33:33
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let proof_results = Paillier::prove(&dk, &challenge);
[INFO] [stdout]    |                                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let _result = Paillier::verify(&proof_results.unwrap(), &verification_aid);
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `benchmark_main` in this scope
[INFO] [stdout]   --> benches/keygen.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | benchmark_main!(bench::group);
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this macro:
[INFO] [stdout]            bencher::benchmark_main
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `KeySize` in this scope
[INFO] [stdout]   --> benches/proof.rs:38:41
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn bench_zk_proof_prove_all<KS: KeySize>(b: &mut Bencher) {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let (challenge, verification_aid) = Paillier::challenge(&ek);
[INFO] [stdout]    |                                                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let proof_results = Paillier::prove(&dk, &challenge);
[INFO] [stdout]    |                                 ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/proof.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let _result = Paillier::verify(&proof_results.unwrap(), &verification_aid);
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize2048` in this scope
[INFO] [stdout]   --> benches/proof.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |         self::bench_zk_proof_challenge<KeySize2048>,
[INFO] [stdout]    |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize2048;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize2048` in this scope
[INFO] [stdout]   --> benches/proof.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         self::bench_zk_proof_prove<KeySize2048>,
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize2048;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize2048` in this scope
[INFO] [stdout]   --> benches/proof.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 |         self::bench_zk_proof_prove_and_verify<KeySize2048>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize2048;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize2048` in this scope
[INFO] [stdout]   --> benches/proof.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |         self::bench_zk_proof_prove_all<KeySize2048>
[INFO] [stdout]    |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize2048;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize4096` in this scope
[INFO] [stdout]   --> benches/proof.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self::bench_zk_proof_challenge<KeySize4096>,
[INFO] [stdout]    |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize4096;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize4096` in this scope
[INFO] [stdout]   --> benches/proof.rs:58:36
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self::bench_zk_proof_prove<KeySize4096>,
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize4096;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize4096` in this scope
[INFO] [stdout]   --> benches/proof.rs:59:47
[INFO] [stdout]    |
[INFO] [stdout] 59 |         self::bench_zk_proof_prove_and_verify<KeySize4096>,
[INFO] [stdout]    |                                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize4096;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KeySize4096` in this scope
[INFO] [stdout]   --> benches/proof.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |         self::bench_zk_proof_prove_all<KeySize4096>
[INFO] [stdout]    |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use crate::helpers::KeySize4096;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `KeySize` in this scope
[INFO] [stdout]  --> benches/keygen.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn bench_key_generation<KS: KeySize>(b: &mut Bencher) {
[INFO] [stdout]   |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 5 +     use crate::helpers::KeySize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> benches/keygen.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             Paillier::keypair_with_modulus_size(KS::size());
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  +     use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kzen_paillier`
[INFO] [stdout]  --> examples/core.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kzen_paillier::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `kzen_paillier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `proof`
[INFO] [stdout]   --> benches/proof.rs:64:49
[INFO] [stdout]    |
[INFO] [stdout] 64 | benchmark_main!(bench::zk_2048, bench::zk_4096);
[INFO] [stdout]    |                                                 ^ consider adding a `main` function to `benches/proof.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `keygen`
[INFO] [stdout]   --> benches/keygen.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | benchmark_main!(bench::group);
[INFO] [stdout]    |                               ^ consider adding a `main` function to `benches/keygen.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paillier-lsc` (bench "encryption") due to 19 previous errors
[INFO] [stderr] error: could not compile `paillier-lsc` (bench "keygen") due to 9 previous errors
[INFO] [stderr] error: could not compile `paillier-lsc` (bench "proof") due to 28 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]  --> examples/core.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let (ek, dk) = Paillier::keypair().keys();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::Paillier;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]  --> examples/core.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let c1 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(20)));
[INFO] [stdout]   |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::Paillier;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPlaintext`
[INFO] [stdout]  --> examples/core.rs:8:37
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let c1 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(20)));
[INFO] [stdout]   |                                     ^^^^^^^^^^^^ use of undeclared type `RawPlaintext`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::RawPlaintext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]  --> examples/core.rs:8:56
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let c1 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(20)));
[INFO] [stdout]   |                                                        ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use curv::BigInt;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::BigInt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]  --> examples/core.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let c2 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(30)));
[INFO] [stdout]   |              ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::Paillier;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPlaintext`
[INFO] [stdout]  --> examples/core.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let c2 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(30)));
[INFO] [stdout]   |                                     ^^^^^^^^^^^^ use of undeclared type `RawPlaintext`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::RawPlaintext;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]  --> examples/core.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let c2 = Paillier::encrypt(&ek, RawPlaintext::from(BigInt::from(30)));
[INFO] [stdout]   |                                                        ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use curv::BigInt;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use paillier::BigInt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/core.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = Paillier::add(&ek, c1, c2);
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/core.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let d = Paillier::mul(&ek, c, RawPlaintext::from(BigInt::from(2)));
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawPlaintext`
[INFO] [stdout]   --> examples/core.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let d = Paillier::mul(&ek, c, RawPlaintext::from(BigInt::from(2)));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ use of undeclared type `RawPlaintext`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::RawPlaintext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt`
[INFO] [stdout]   --> examples/core.rs:15:54
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let d = Paillier::mul(&ek, c, RawPlaintext::from(BigInt::from(2)));
[INFO] [stdout]    |                                                      ^^^^^^ use of undeclared type `BigInt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope
[INFO] [stdout]   --> examples/core.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let m: BigInt = Paillier::decrypt(&dk, d).into();
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use curv::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::BigInt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Paillier`
[INFO] [stdout]   --> examples/core.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let m: BigInt = Paillier::decrypt(&dk, d).into();
[INFO] [stdout]    |                     ^^^^^^^^ use of undeclared type `Paillier`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use paillier::Paillier;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `paillier-lsc` (example "core") due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "f7aa2c08c8d8fb6de953653713e72752c8a6381892431f70a53cac33ee5d1e5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7aa2c08c8d8fb6de953653713e72752c8a6381892431f70a53cac33ee5d1e5b", kill_on_drop: false }`
[INFO] [stdout] f7aa2c08c8d8fb6de953653713e72752c8a6381892431f70a53cac33ee5d1e5b
